﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Dora.Tools.Enums.Order
{
    /// <summary>
    /// 可以申领电子合同的最早时机
    /// </summary>
    public enum OrderContractSendWay
    {
        /// <summary>
        /// 最早付款前可以申领
        /// </summary>
        [Description("最早付款前可申领")]
        BeforePayment = 1,
        /// <summary>
        /// 最早付款后可申领
        /// </summary>
        [Description("最早付款后可申领")]
        AfterPayment = 0
    }
    /// <summary>
    /// 订单合同的主状态
    /// </summary>
    public enum OrderContractStatus
    {
        /// <summary>
        /// 未触发的状态
        /// </summary>
        [Description("-")]
        None = -1,
        /// <summary>
        /// 待提交
        /// </summary>
        [Description("待提交")]
        wait = 1,
        /// <summary>
        /// 待审核
        /// </summary>
        [Description("待审核")]
        verify = 2,
        /// <summary>
        /// 已通过
        /// </summary>
        [Description("已通过")]
        pass = 3,
        /// <summary>
        /// 已驳回
        /// </summary>
        [Description("已驳回")]
        reject = 4,
        /// <summary>
        /// 已发送
        /// </summary>
        [Description("已发送")]
        Send = 5,
        /// <summary>
        /// 申领中 点击发送按钮后 和有状态返回之间的中间状态
        /// </summary>
        [Description("申领中")]
        Sending = 6,
        /// <summary>
        /// 订单变更成功后，如果有合同那么把合同的主状态变为此状态
        /// </summary>
       [Description("重新发送")]
        ChangeSend = 7

    }
}
